import java.text.DecimalFormat;
import java.util.Scanner;

public class java2_fn5 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        Circle circle1 = new Circle(input.nextInt());
        Circle circle2 = new Circle(input.nextInt());

        Circle circle = (Circle) GeometricObject.max(circle1, circle2);
        System.out.println("The max circle's radius is " + circle.getRadius());
        System.out.println(circle);
    }
}

abstract class shape {// 抽象类
    /* 抽象方法 求面积 */
    public abstract double getArea();

    /* 抽象方法 求周长 */
    public abstract double getPerimeter();
}

/* 你提交的代码将被嵌入到这里 */
class Circle extends shape {
    private double r;
    final double pi = 3.1415926;

    Circle(double fuck) {
        this.r = fuck;
    }

    public double getArea() {
        return pi * r * r;
    }

    public double getPerimeter() {
        return 2 * pi * r;
    }

    public double getRadius(){
        return r;
    }

    @Override
    public String toString() {
        return "Circle radius = " + Double.toString(r);
    }
}
class GeometricObject{
    static Circle max(Circle c1, Circle c2){
        if(c1.getArea() > c2.getArea()){
            return c1;
        }else{
            return c2;
        }
    }
}